package com.jiantong.lawEnforcing.service;

import com.jiantong.lawEnforcing.model.Goods;
import com.jiantong.lawEnforcing.model.ProofOfService;
import io.terminus.common.model.Response;

import java.util.List;

/**
 * 送达回证
 * Created by mz03 on 2017/8/14.
 */
public interface ProofOfServiceService {


    /**
     * id 查找
     * @param id
     * @return Goods
     */
    Response<ProofOfService> finById(Long id);


    /**
     * id 查找
     * @param ids
     * @return
     */
    Response<List<ProofOfService>> finByIds(List<Long> ids);


    /**
     * 创建新闻新单据
     * @param proofOfService 单据对象
     * @return 主键 id
     */
    Response<Long> create(ProofOfService proofOfService);



    /**
     * 更新新闻的单据
     * @param proofOfService 单据对象
     * @return true or false
     */
    Response<Boolean> update(ProofOfService proofOfService);

}
